package com.aaa.web.service.secondcarservice;

import com.aaa.entity.secondcar.SecondCarDetailMessage;
import com.aaa.entity.secondcar.SecondCarTransferMessage;
import com.aaa.web.commons.Result;
import com.aaa.web.commons.SecondCarVerifyQuery;

import java.util.List;
import java.util.Map;

/**
* @program: ${PROJECT_NAME}
* @description: 二手车过户界面
* @author: 许一鑫
* @create: 10:27 2019/1/3
**/
public interface SecondCarTransferService {
    /**查询所有二手车相关信息展现在过户信息栏分页及搜索*/
    Map getCarTransferRelatedMessage(SecondCarVerifyQuery query);
    /**根据车主电话和车出厂码查询出需要过户的二手车信息*/
    List<SecondCarDetailMessage> getCarTransferDetailMessage(SecondCarDetailMessage s);
    /**根据原车主电话号码和新车主电话号码进行二手车过户*/
    Result transferCar(SecondCarTransferMessage s);
}
